package com.yq.cns.ui.main.fragment.common

import com.yq.cns.entity.NewsListEntity

sealed class CommonNewsFragmentState{
    object Loading : CommonNewsFragmentState()
    class Error(msg:String):CommonNewsFragmentState()
    class LoadDataSuccess(val datas:List<NewsListEntity>):CommonNewsFragmentState()
    class LoadMoreDataSuccess(val datas:List<NewsListEntity>):CommonNewsFragmentState()
    class LoadMoreDataFail(msg: String):CommonNewsFragmentState()
    class LoadMoreDataNoData():CommonNewsFragmentState()

}
